<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>UniMRCP: rtsp_server.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">UniMRCP
   &#160;<span id="projectnumber">1.5.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li><li class="navelem"><a class="el" href="dir_3321f7367ff9c18e72e64074f26b7c54.html">uni-rtsp</a></li><li class="navelem"><a class="el" href="dir_3cded4aa6edd94ca32b2a2b0f15fc5e2.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">rtsp_server.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>RTSP Server.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="apt__task_8h_source.html">apt_task.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="rtsp__message_8h_source.html">rtsp_message.h</a>&quot;</code><br/>
</div>
<p><a href="rtsp__server_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrtsp__server__vtable__t.html">rtsp_server_vtable_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a8735f5a049ca4809a3b481dccafaec89"><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
typedefAPT_BEGIN_EXTERN_C <br class="typebreak"/>
struct <a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a></td></tr>
<tr class="separator:a8735f5a049ca4809a3b481dccafaec89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3cb4ac2ab048192a426d38f876e8cbb"><td class="memItemLeft" align="right" valign="top">typedef struct <br class="typebreak"/>
<a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a></td></tr>
<tr class="separator:ac3cb4ac2ab048192a426d38f876e8cbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a514e32a47eef20ceafbac210ad4245bf"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structrtsp__server__vtable__t.html">rtsp_server_vtable_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#a514e32a47eef20ceafbac210ad4245bf">rtsp_server_vtable_t</a></td></tr>
<tr class="separator:a514e32a47eef20ceafbac210ad4245bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a10827128a71d8127e2a694f3932f9784"><td class="memItemLeft" align="right" valign="top"><a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#a10827128a71d8127e2a694f3932f9784">rtsp_server_create</a> (const char *id, const char *listen_ip, apr_port_t listen_port, apr_size_t max_connection_count, apr_size_t connection_timeout, void *obj, const <a class="el" href="structrtsp__server__vtable__t.html">rtsp_server_vtable_t</a> *handler, apr_pool_t *pool)</td></tr>
<tr class="separator:a10827128a71d8127e2a694f3932f9784"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a105ceeb9ed72d6b22909e3f5a843c255"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#a105ceeb9ed72d6b22909e3f5a843c255">rtsp_server_destroy</a> (<a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *server)</td></tr>
<tr class="separator:a105ceeb9ed72d6b22909e3f5a843c255"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebfdea2da3b1d1b77c74984bff133f58"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#aebfdea2da3b1d1b77c74984bff133f58">rtsp_server_start</a> (<a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *server)</td></tr>
<tr class="separator:aebfdea2da3b1d1b77c74984bff133f58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d3c5a3ae9c21b7b4db4ea213b8efa98"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#a5d3c5a3ae9c21b7b4db4ea213b8efa98">rtsp_server_terminate</a> (<a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *server)</td></tr>
<tr class="separator:a5d3c5a3ae9c21b7b4db4ea213b8efa98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b1b373c8def39eca43bdcbae0090426"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#a0b1b373c8def39eca43bdcbae0090426">rtsp_server_task_get</a> (const <a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *server)</td></tr>
<tr class="separator:a0b1b373c8def39eca43bdcbae0090426"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28534564d0bf5bba55b6db9f3dde49ba"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#a28534564d0bf5bba55b6db9f3dde49ba">rtsp_server_object_get</a> (const <a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *server)</td></tr>
<tr class="separator:a28534564d0bf5bba55b6db9f3dde49ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1d4fec8acfb535dbd63dee4cb100c4e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#ac1d4fec8acfb535dbd63dee4cb100c4e">rtsp_server_session_respond</a> (<a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *server, <a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *session, <a class="el" href="structrtsp__message__t.html">rtsp_message_t</a> *message)</td></tr>
<tr class="separator:ac1d4fec8acfb535dbd63dee4cb100c4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03995997a70e3107a4ae017548024ffd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#a03995997a70e3107a4ae017548024ffd">rtsp_server_session_terminate</a> (<a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *server, <a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *session)</td></tr>
<tr class="separator:a03995997a70e3107a4ae017548024ffd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5312be6b1ecdadc63c57b4d98f3f02a1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#a5312be6b1ecdadc63c57b4d98f3f02a1">rtsp_server_session_release</a> (<a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *server, <a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *session)</td></tr>
<tr class="separator:a5312be6b1ecdadc63c57b4d98f3f02a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9473763206eec8d0a807ec4949236593"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#a9473763206eec8d0a807ec4949236593">rtsp_server_session_object_get</a> (const <a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *session)</td></tr>
<tr class="separator:a9473763206eec8d0a807ec4949236593"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44fdf14b8683ce964ae783d93c1c594d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#a44fdf14b8683ce964ae783d93c1c594d">rtsp_server_session_object_set</a> (<a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *session, void *obj)</td></tr>
<tr class="separator:a44fdf14b8683ce964ae783d93c1c594d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab862f96ee63fe01570a716cde8dc1c1c"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structapt__str__t.html">apt_str_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#ab862f96ee63fe01570a716cde8dc1c1c">rtsp_server_session_id_get</a> (const <a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *session)</td></tr>
<tr class="separator:ab862f96ee63fe01570a716cde8dc1c1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b6806ca095a77babef34fc27b13fe69"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structrtsp__message__t.html">rtsp_message_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#a4b6806ca095a77babef34fc27b13fe69">rtsp_server_session_request_get</a> (const <a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *session)</td></tr>
<tr class="separator:a4b6806ca095a77babef34fc27b13fe69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef0f81c96aa265a4c0f07789b5f91775"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rtsp__server_8h.html#aef0f81c96aa265a4c0f07789b5f91775">rtsp_server_session_destination_get</a> (const <a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *session)</td></tr>
<tr class="separator:aef0f81c96aa265a4c0f07789b5f91775"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>RTSP Server. </p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ac3cb4ac2ab048192a426d38f876e8cbb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> <a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Opaque RTSP server session declaration </p>

</div>
</div>
<a class="anchor" id="a8735f5a049ca4809a3b481dccafaec89"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef typedefAPT_BEGIN_EXTERN_C struct <a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> <a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Opaque RTSP server declaration </p>

</div>
</div>
<a class="anchor" id="a514e32a47eef20ceafbac210ad4245bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structrtsp__server__vtable__t.html">rtsp_server_vtable_t</a> <a class="el" href="structrtsp__server__vtable__t.html">rtsp_server_vtable_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>RTSP server vtable declaration </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a10827128a71d8127e2a694f3932f9784"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a>* rtsp_server_create </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>listen_ip</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_port_t&#160;</td>
          <td class="paramname"><em>listen_port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>max_connection_count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>connection_timeout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structrtsp__server__vtable__t.html">rtsp_server_vtable_t</a> *&#160;</td>
          <td class="paramname"><em>handler</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create RTSP server. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the identifier of the server </td></tr>
    <tr><td class="paramname">listen_ip</td><td>the listen IP address </td></tr>
    <tr><td class="paramname">listen_port</td><td>the listen port </td></tr>
    <tr><td class="paramname">max_connection_count</td><td>the number of max RTSP connections </td></tr>
    <tr><td class="paramname">connection_timeout</td><td>the inactivity timeout for an RTSP connection [sec] </td></tr>
    <tr><td class="paramname">obj</td><td>the external object to send events to </td></tr>
    <tr><td class="paramname">handler</td><td>the request handler </td></tr>
    <tr><td class="paramname">pool</td><td>the pool to allocate memory from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a105ceeb9ed72d6b22909e3f5a843c255"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> rtsp_server_destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *&#160;</td>
          <td class="paramname"><em>server</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destroy RTSP server. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">server</td><td>the server to destroy </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a28534564d0bf5bba55b6db9f3dde49ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* rtsp_server_object_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *&#160;</td>
          <td class="paramname"><em>server</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get external object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">server</td><td>the server to get object from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aef0f81c96aa265a4c0f07789b5f91775"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* rtsp_server_session_destination_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the session destination (client) IP address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>the session to get IP address from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab862f96ee63fe01570a716cde8dc1c1c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structapt__str__t.html">apt_str_t</a>* rtsp_server_session_id_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the session identifier. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>the session to get identifier from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9473763206eec8d0a807ec4949236593"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* rtsp_server_session_object_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get object associated with the session. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>the session to get object from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a44fdf14b8683ce964ae783d93c1c594d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void rtsp_server_session_object_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>obj</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set object associated with the session. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>the session to set object for </td></tr>
    <tr><td class="paramname">obj</td><td>the object to set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5312be6b1ecdadc63c57b4d98f3f02a1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> rtsp_server_session_release </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *&#160;</td>
          <td class="paramname"><em>server</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Release RTSP session (internal release event/request). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">server</td><td>the server to use </td></tr>
    <tr><td class="paramname">session</td><td>the session to release </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4b6806ca095a77babef34fc27b13fe69"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structrtsp__message__t.html">rtsp_message_t</a>* rtsp_server_session_request_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get active (in-progress) session request. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>the session to get from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac1d4fec8acfb535dbd63dee4cb100c4e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> rtsp_server_session_respond </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *&#160;</td>
          <td class="paramname"><em>server</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structrtsp__message__t.html">rtsp_message_t</a> *&#160;</td>
          <td class="paramname"><em>message</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Send RTSP message. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">server</td><td>the server to use </td></tr>
    <tr><td class="paramname">session</td><td>the session to send RTSP response for </td></tr>
    <tr><td class="paramname">message</td><td>the RTSP response to send </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a03995997a70e3107a4ae017548024ffd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> rtsp_server_session_terminate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *&#160;</td>
          <td class="paramname"><em>server</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="rtsp__server_8h.html#ac3cb4ac2ab048192a426d38f876e8cbb">rtsp_server_session_t</a> *&#160;</td>
          <td class="paramname"><em>session</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Terminate RTSP session (respond to terminate request). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">server</td><td>the server to use </td></tr>
    <tr><td class="paramname">session</td><td>the session to terminate </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aebfdea2da3b1d1b77c74984bff133f58"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> rtsp_server_start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *&#160;</td>
          <td class="paramname"><em>server</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Start server and wait for incoming requests. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">server</td><td>the server to start </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0b1b373c8def39eca43bdcbae0090426"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a>* rtsp_server_task_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *&#160;</td>
          <td class="paramname"><em>server</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">server</td><td>the server to get task from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5d3c5a3ae9c21b7b4db4ea213b8efa98"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> rtsp_server_terminate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="rtsp__server_8h.html#a8735f5a049ca4809a3b481dccafaec89">rtsp_server_t</a> *&#160;</td>
          <td class="paramname"><em>server</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Terminate server. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">server</td><td>the server to terminate </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 22 2017 10:11:48 for UniMRCP by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
